package protocol.common.entity;

public class JedisParameter {
	private String configId;
	private String password;
	private String host;
	private int database;
	private int port;

	public String getConfigId() {
		return configId;
	}

	public void setConfigId(String configId) {
		this.configId = configId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public int getDatabase() {
		return database;
	}

	public void setDatabase(int database) {
		this.database = database;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append("configId=").append(this.configId).append("  ");
		sb.append("password=").append(this.password).append("  ");
		sb.append("database=").append(this.database).append("  ");
		sb.append("host=").append(this.host).append("  ");
		sb.append("port=").append(this.port).append("  ");
		return sb.toString();
	}
}
